<!DOCTYPE html>
<html>
<head>
    <#include "../common/header.ftl">
    <script type="text/javascript" src="/sell/easyui/jquery.easyui.min.js?v=1" charset="UTF-8"></script>
    <meta charset="utf-8"/>
    <title>扫码登陆确认页面</title>
</head>
<body>
<script>
    function submitAllow() {
        $("#allowForm").form("submit", {
            url : "/sell/fake/weChat/login/wc/encode/allow?" + Math.random(),
            success : function(data) {
                if (data.success) {
                   alert("确认登陆成功");
                } else {
                    alert("确认登陆失败");
                }
            }
        });
    }


</script>
<form id="allowForm" method="post" >
    <div class="container">
        <div class="row clearfix">
            <div class="col-md-12 column">
                    <input type="hidden" value="${clientNum}" name="clientNum" id="clientNum">
                    <input type="hidden" value="true" name="isAllow" id="isAllow">
                <button style="height: 200px;width: 200px;margin: 20px,auto" type="button" class="btn btn-default btn-success" onclick="submitAllow()">按钮</button>
            </div>
        </div>
    </div>
</form>

</body>
</html>